import request from '@/utils/request'
// 按照用户名查询用户
export function getByAccount(data) {
  return request({
    url: '/VoiceIntercom/surveillanceList',
    method: 'post',
    data: data,
  })
}
// 发起单呼通话
export function makeCall(data) {
  return request({
    url: '/VoiceIntercom/makeCall',
    method: 'post',
    data: data,
  })
}
// 获取海康app免登录路径接口
export function gridLocationHistory(data) {
  return request({
    url: '/VoiceIntercom/getUrlByAccount',
    method: 'post',
    data: data,
  })
}
